<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp" %>

<c:if test="${pointRule != null }">
    <table class="table table-striped table-bordered table-condensed">
        <input type="hidden" name="ruleId" id="ruleId" value="${pointRule.id}"/>
        <tr>
            <td class="span2">编号:</td>
            <td>
                    ${pointRule.code}
            </td>
        </tr>
        <tr>
            <td class="span2">积分码:</td>
            <td>
                    ${pointRule.iCode}
            </td>
        </tr>
        <tr>
            <td>积分规则:</td>
            <td>
                <input style="color: red;" id="cPoint" name="cPoint" class="span1" type="text"
                       value="${pointRule.point}"/>
                <span class="tBlue">正数增加积分，负数扣减积分</span>
            </td>
        </tr>


        <tr>
            <td>备注:</td>
            <td>
                    ${pointRule.memo}
            </td>
        </tr>
    </table>
</c:if>

<c:if test="${pointRule == null }">
    <span class="tRed">兑换积分码无效，请检查确认后重新输入！</span>
</c:if>